package org.example.entity;

import java.util.List;

public class Team {
    List<Student> studentLists;
    Teacher teacher;


    public Team( Teacher teacher, List<Student> studentLists) {
        this.studentLists = studentLists;
        this.teacher = teacher;
    }

    public List<Student> getStudentLists() {
        return studentLists;
    }

    public void setStudentLists(List<Student> studentLists) {
        this.studentLists = studentLists;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }
}
